package org.lx.nursing.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class NursingTaskVo {
    private Integer id;

    private String nursingId;

    private Integer projectId;

    private String projectName;

    private Integer elderId;

    private String elderName;

    private String bedNumber;

    @JsonFormat(pattern = "MM月dd日 HH时mm分")
    private LocalDateTime estimatedServerTime;

    @JsonFormat(pattern = "yyyy年MM月dd日 HH时mm分")
    private LocalDateTime realServerTime;

    private String mark;

    private String cancelReason;

    private Integer status;

    private String taskImage;

    private List<String> nursingName;

    private String nursingLevelName;

    private Integer age;

    private String sex;

    private String updateBy;

    @JsonFormat(pattern = "yyyy年MM月dd日 HH时mm分")
    private LocalDateTime createTime;

    @JsonFormat(pattern = "yyyy年MM月dd日 HH时mm分")
    private LocalDateTime updateTime;

    private String updater;
}

